20d05e
@@ -57,8 +57,6 @@
public class OgnlExpression extends ExpressionSupport<Exchange> {
         // TODO we could use caching here but then we'd have possible
         // concurrency issues
         // so lets assume that the provider caches
-        Map values = new HashMap();
-        populateContext(values, exchange);
         OgnlContext oglContext = new OgnlContext();
         try {
             return Ognl.getValue(expression, oglContext, new RootObject(exchange));
@@ -67,12 +65,6 @@
public class OgnlExpression extends ExpressionSupport<Exchange> {
         }
     }
 
-    protected void populateContext(Map map, Exchange exchange) {
-        map.put("exchange", exchange);
-        map.put("in", exchange.getIn());
-        map.put("out", exchange.getOut());
-    }
-
     protected String assertionFailureMessage(Exchange exchange) {
         return expressionString;
     }
